package cn.psvmc.cxzapi.model.system;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 平台配置表
 * @Author auto
 * @Date 2024-08-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_platform_set")
public class TPlatformSet implements Serializable {

    @Serial
    private static final long serialVersionUID = 7779777232102769747L;
    //平台配置id
    @TableId(value = "psid", type = IdType.AUTO)
    private Integer psid;

    //订单结算比例
    @TableField("settlement_ratio")
    private Double settlementRatio;

    //买断价比例
    @TableField("renewal_rate")
    private Double renewalRate;

    //接收消息手机号
    @TableField("recive_phone")
    private String recivePhone;

    //客服电话
    @TableField("service_phone")
    private String servicePhone;

    //服务时间
    @TableField("service_time")
    private String serviceTime;

    //创建人id
    @TableField(value = "createid", fill = FieldFill.INSERT)
    private Integer createid;

    //创建时间
    @TableField(value = "createtime", fill = FieldFill.INSERT)
    private LocalDateTime createtime;

    //操作人id
    @TableField(value = "updateid", fill = FieldFill.INSERT_UPDATE)
    private Integer updateid;

    //操作时间
    @TableField(value = "updatetime", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatetime;

    //版本号
    @TableField("rversion")
    @Version
    private Integer rversion;


}
